package com.zito.health.common.controller;

import com.zito.health.common.enums.ResultCode;
import com.zito.health.common.result.PlatformResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: gxt
 * @time: 2019/10/12 11:15
 */
@RestController
@RequestMapping
public class CommonController {

    @RequestMapping(value = "/unauth")
    public PlatformResult unauth() {

        return PlatformResult.failure(ResultCode.USER_NOT_LOGGED_IN);
    }


}
